{include file="public/header" /}
{css href="__ROOT__/static/public/umeditor/themes/default/css/umeditor.css" /}
{js href="__ROOT__/static/public/umeditor/third-party/template.min.js" /}
{js href="__ROOT__/static/public/umeditor/umeditor.config.js" /}
{js href="__ROOT__/static/public/umeditor/umeditor.min.js" /}
<table width="100%" border="0" cellspacing="0" cellpadding="0">
    <form method="post" class="form-x" action="__URL__/flag_edit.html?id={$data.id}" enctype="multipart/form-data">
        <input type="hidden" name="gid" value="{$data.gid}">
        <tbody>
        <tr>
            <td height="50" colspan="2" style="font-size: 13px; color: red; padding-top: 16px">　推荐图片展示在用户端首页，竖形图片</td>
        </tr>
        <tr>
        <td width="100" rowspan="3">
        　 　<img src="{$data.flag_image}" style="max-width:90px;max-height: 150px; margin-left:15px; margin-top: -30px; margin-right: 15px; float:left"></td>
        <td height="80">
            <input type="file" name="image" style="width: 180px; margin-top:30px;" {if !$data.flag_image}required{/if} /></td>
      </tr>
        <tr>
            <td height="50">
            	是否推荐：
                <label class="button {if !$data.flag}active{/if}">
                  	<input name="flag" value="0" {if !$data.flag}checked="checked"{/if} type="radio"> 否</label>
                <label class="button {if $data.flag == "1"}active{/if}">
                	<input name="flag" value="1" {if $data.flag == "1"}checked="checked"{/if} type="radio"> 是
                </label>
            </td>
        </tr>
        <tr>
            <td height="50"><input type="submit" class="button border-blue editcat" style="padding: 3px 8px;"/></td>
        </tr>
        </tbody>
    </form>
</table>
